<template>

  <div tabindex="0" class="el-upload-video" >
    <img :src="user.avatar" alt="" />
    <p>{{user.name}}}</p>
  </div>



</template>

<script>
  // import wxlogin from 'vue-wxlogin'
  export default {
    // components: { wxlogin },
    name: "qqcos",
    data() {
      return {
        imageUrl: '',
        uid:'75624809',
        arrlist:[],
        ack: '',
        appid: 'wxf3fb1b693eb24074',
        user:{}
      };
    },
    methods: {
      getWexinUserInfo() {
        this.getRequest('https://om.app.cctv.com/login/wxUser',{
          ack: this.ack
        },{}).then(res => {
          console.log(res)
          this.imageUrl = res.data.img
          this.ack = res.data.ack
        })
      },

    },
    mounted() {
      this.getRequest('https://om.app.cctv.com/login/wxQrLogin',{

      },{}).then(res => {
        console.log(res)
        this.imageUrl = res.data.img
        this.ack = res.data.ack
      })
    }
  }
</script>

<style scoped>

</style>